Permission Service
PermissionService provides the functionality to check and request the Permissions required for the BlueJeans SDK. This service is an optional service, you can choose to use your own permission mechanism.
BlueJeans SDK requires permissions Manifest.permission.RECORD_AUDIO for sending audio, Manifest.permission.CAMERA for sending video and if on OS 12 device Manifest.permission.BLUETOOTH_CONNECT for connecting to Bluetooth headsets when user joins a call.
The app needs to have a mandatory minimum permission android.Manifest.permission.RECORD_AUDIO in application manifest and request for it to join any meeting.
Note: Registering the service in onCreate of a activity is mandatory before calling request permissions within that activity.
Constructors
Types
Represents various types of permission required for calling experience.
This sealed class will use to notify about permission service api result
Properties
Functions
Checks whether all permission granted for a complete audio video calling experience.
Checks for minimum permissions required to join a meeting
Checks the individual permission if already granted.
As per new behaviour change in activity result api. All result api register must call on every create of the activity. permissionService.registerForPermissionService do registerForActivityResult for given activity This method need to be called before using the permission service. Without registering permission service none of the api of this class will work. registration needs weak reference of activity
Requests for all mandatory permissions which are required for the SDK. All required permission are specified in "permissions" map.
Requests array of permissions required for androidx ComponentActivity.